using System;
using System.Collections.Generic;

namespace Process.Domain.DTO.OutDTO
{
    public class SortedWorkflowDTO
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public List<WorkflowNodeDTO> SortedNodes { get; set; }
    }

    public class WorkflowNodeDTO
    {
        public string Id { get; set; }        
        public string ProcessId { get; set; }
        public string Type { get; set; }
        public string Name { get; set; }
        public int Order { get; set; }
        public long? DepartmentId { get; set; }
        public string DepartmentName { get; set; }
        public string ApproverId { get; set; }
        public string ApproverName { get; set; }
    }
} 